package com.lc.schedule.service.impl;

import com.lc.schedule.dao.SysScheduleDao;
import com.lc.schedule.dao.impl.SysScheduleDaoImpl;
import com.lc.schedule.pojo.SysSchedule;
import com.lc.schedule.service.SysScheduleService;

import java.util.List;

/**
 * @author liuchun
 */
public class SysScheduleServiceImpl implements SysScheduleService {
    private SysScheduleDao sysScheduleDao = new SysScheduleDaoImpl();
    @Override
    public List findSchedule(int uid) {
         return sysScheduleDao.findSchedule(uid);
    }

    @Override
    public Integer addScheduleByUser(int uid) {
        return sysScheduleDao.addScheduleByUser(uid);
    }

    @Override
    public Integer UpdateItem(SysSchedule sysSchedule) {
        return sysScheduleDao.UpdateItem(sysSchedule);
    }

    @Override
    public Integer deleteSchedule(SysSchedule sysSchedule) {
        return sysScheduleDao.deleteSchedule(sysSchedule);
    }


}
